<div class="cardlet">
	<table class="cardlet-table">
		<tr>
			<td class="cardlet-head" style="width:100%"><%=name%></td>
			<td rowspan="5">
				<div style="max-width:150px;overflow:hidden">
					<%if(this.image_id && this.image_id>0){%>
						<%var imagePath="images?image_id="+this.image_id;%>
						<a href="<%=imagePath%>" target="_blank">
							<img unloaded_src="<%=imagePath%>" height="150"/>
						</a>
					<%}else{%>
						<img unloaded_src="pics/default.jpg" height="150"/>
					<%}%>
				</div>
			</td>
		</tr>
		<tr>
			<td class="cardlet-description"><%=description%></td>
		</tr>
		<tr>
			<td class="cardlet-user">
				<%if(this.facebook_user.id!=facebookUserId){%>
					Mooch off <%=this.facebook_user ? facebookUser(this) : ''%>
				<%}%>
			</td>
		</tr>
		<tr>
			<td>
				<span class="cardlet-category"><%=this.category.name%></span><%if(0<tags.length){%>:
					(<span class="cardlet-tags"><%=tags.join(', ')%></span>)
				<%}%>
			</td>
		</tr>
		<tr>
			<td align="center">
				<%if(!this.unrequestable){%>
					<form>
						<%=hidden_field_tag('item_id',id)%>
						<button
							open_dialog="requests/request_existing_item_form"
							dialog_title="Request <%=this.name.tagpropEscape()%>"
							data-extra_args_json="<%=tagpropEscapeJson({target_item:this})%>"
							>I want it!</button>
					</form>
				<%}%>
			</td>
		</tr>
		<tr>
			<td colspan=5 align="center">
				<%=renderEjs('facebook/section',{owner:this,type:'MItem'})%>
			</td>
		</tr>
	</table>
</div>
